﻿using com.guojin.core.io.message;
using System.Collections;
using System.Collections.Generic;
using com.guojin.core.io;
using UnityEngine;
using System;

namespace com.guojin.mj.net.message.login
{
    public class CreateClubInfo : Message
    {
        public static int TYPE = 7;
        public static int ID = 72;
        private int type;
       /***
        * 0.代表创建过俱乐部 
        1.	代表自己已经加入到三个俱乐部当中 
        2.金币不够 
        3.俱乐部名字重复 
        4.代表服务器报错 
        5.俱乐部创建成功
        */



        public int Type
        {
            get
            {
                return type;
            }

            set
            {
                type = value;
            }
        }

        

        public void decode(core.io.Input _in)
        {
            type = _in.readInt();          
        }

        public void encode(Output _out)
        {

        }

        public int getMessageId()
        {
            return ID;
        }

        public int getMessageType()
        {
            return TYPE;
        }

        public string toString()
        {
            return "type"+ type;
        }
    }
}
